import request from '@/utils/request'

// 查询高压空气压缩机工作状态记录列表
export function listHighcompressor(query) {
  return request({
    url: '/productionProcess/highcompressor/list',
    method: 'get',
    params: query
  })
}

// 查询高压空气压缩机工作状态记录详细
export function getHighcompressor(id) {
  return request({
    url: '/productionProcess/highcompressor/' + id,
    method: 'get'
  })
}

// 新增高压空气压缩机工作状态记录
export function addHighcompressor(data) {
  return request({
    url: '/productionProcess/highcompressor',
    method: 'post',
    data: data
  })
}

// 修改高压空气压缩机工作状态记录
export function updateHighcompressor(data) {
  return request({
    url: '/productionProcess/highcompressor',
    method: 'put',
    data: data
  })
}
export function checkHighcompressor(data) {
  return request({
    url: '/productionProcess/highcompressor/check',
    method: 'put',
    data: data
  })
}
// 删除高压空气压缩机工作状态记录
export function delHighcompressor(id) {
  return request({
    url: '/productionProcess/highcompressor/' + id,
    method: 'delete'
  })
}
